[INFO] cloning repository https://github.com/mookid/diffr
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mookid/diffr" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmookid%2Fdiffr", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmookid%2Fdiffr'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 50cd7da9cb69025886edd896846d226c8c33f6eb
[INFO] checking mookid/diffr against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmookid%2Fdiffr" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/mookid/diffr on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/mookid/diffr
[INFO] removed path dependency diffr-lib from git repo https://github.com/mookid/diffr
[INFO] finished tweaking git repo https://github.com/mookid/diffr
[INFO] tweaked toml for git repo https://github.com/mookid/diffr written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/mookid/diffr already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr] error: the lock file /workspace/builds/worker-0/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded diffr-lib v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 47799da53302e2b7d454d2d25c4bd031d9a0075c5ad1173ec5c50a95f208b1ae
[INFO] running `Command { std: "docker" "start" "-a" "47799da53302e2b7d454d2d25c4bd031d9a0075c5ad1173ec5c50a95f208b1ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "47799da53302e2b7d454d2d25c4bd031d9a0075c5ad1173ec5c50a95f208b1ae", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "47799da53302e2b7d454d2d25c4bd031d9a0075c5ad1173ec5c50a95f208b1ae", kill_on_drop: false }`
[INFO] [stdout] 47799da53302e2b7d454d2d25c4bd031d9a0075c5ad1173ec5c50a95f208b1ae
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 78d157d074c7e00b85ffdb21428f917ea4e53df297961638f0c983418d404bef
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "78d157d074c7e00b85ffdb21428f917ea4e53df297961638f0c983418d404bef", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]     Checking diffr-lib v0.1.3
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]     Checking clap v2.33.3
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking diffr v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `diffr_lib::TokenMap`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use diffr_lib::TokenMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ no `TokenMap` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `diffr_lib::TokenMap`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use diffr_lib::TokenMap;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^ no `TokenMap` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 241 | fn shared_spans(added_tokens: &Tokenization, diff_buffer: &Vec<Snake>) -> Vec<(usize, usize)> {
[INFO] [stdout]     |                                                                           ------------------- expected `std::vec::Vec<(usize, usize)>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 248 |     shared_spans
[INFO] [stdout]     |     ^^^^^^^^^^^^ expected tuple, found struct `diffr_lib::HashedSpan`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::vec::Vec<(usize, usize)>`
[INFO] [stdout]                found struct `std::vec::Vec<diffr_lib::HashedSpan>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 241 | fn shared_spans(added_tokens: &Tokenization, diff_buffer: &Vec<Snake>) -> Vec<(usize, usize)> {
[INFO] [stdout]     |                                                                           ------------------- expected `std::vec::Vec<(usize, usize)>` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 248 |     shared_spans
[INFO] [stdout]     |     ^^^^^^^^^^^^ expected tuple, found struct `diffr_lib::HashedSpan`
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `std::vec::Vec<(usize, usize)>`
[INFO] [stdout]                found struct `std::vec::Vec<diffr_lib::HashedSpan>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:376:23
[INFO] [stdout]     |
[INFO] [stdout] 376 |         let removed = Tokenization::new(data, removed_tokens, &m);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ ----  --------------  -- supplied 3 arguments
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:376:23
[INFO] [stdout]     |
[INFO] [stdout] 376 |         let removed = Tokenization::new(data, removed_tokens, &m);
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^ ----  --------------  -- supplied 3 arguments
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:377:21
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let added = Tokenization::new(data, added_tokens, &m);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ ----  ------------  -- supplied 3 arguments
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:377:21
[INFO] [stdout]     |
[INFO] [stdout] 377 |         let added = Tokenization::new(data, added_tokens, &m);
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^ ----  ------------  -- supplied 3 arguments
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `diffr_lib::DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:378:33
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let tokens = DiffInput::new(&added, &removed);
[INFO] [stdout]     |                                 ^^^ function or associated item not found in `diffr_lib::DiffInput<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `diffr_lib::DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:378:33
[INFO] [stdout]     |
[INFO] [stdout] 378 |         let tokens = DiffInput::new(&added, &removed);
[INFO] [stdout]     |                                 ^^^ function or associated item not found in `diffr_lib::DiffInput<'_>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:383:19
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let lcs = Tokenization::new(data, &shared_spans, &m);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ ----  -------------  -- supplied 3 arguments
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied
[INFO] [stdout]    --> src/main.rs:383:19
[INFO] [stdout]     |
[INFO] [stdout] 383 |         let lcs = Tokenization::new(data, &shared_spans, &m);
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^ ----  -------------  -- supplied 3 arguments
[INFO] [stdout]     |                   |
[INFO] [stdout]     |                   expected 2 arguments
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `added` found for struct `diffr_lib::DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:411:36
[INFO] [stdout]     |
[INFO] [stdout] 411 | ...                   tokens.added(),
[INFO] [stdout]     |                              ^^^^^-- help: remove the arguments
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `removed` found for struct `diffr_lib::DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:418:36
[INFO] [stdout]     |
[INFO] [stdout] 418 | ...                   tokens.removed(),
[INFO] [stdout]     |                              ^^^^^^^-- help: remove the arguments
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `added` found for struct `diffr_lib::DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:411:36
[INFO] [stdout]     |
[INFO] [stdout] 411 | ...                   tokens.added(),
[INFO] [stdout]     |                              ^^^^^-- help: remove the arguments
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `removed` found for struct `diffr_lib::DiffInput<'_>` in the current scope
[INFO] [stdout]    --> src/main.rs:418:36
[INFO] [stdout]     |
[INFO] [stdout] 418 | ...                   tokens.removed(),
[INFO] [stdout]     |                              ^^^^^^^-- help: remove the arguments
[INFO] [stdout]     |                              |
[INFO] [stdout]     |                              field, not a method
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:468:17
[INFO] [stdout]     |
[INFO] [stdout] 468 |                 &mut self.added_tokens
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ expected struct `diffr_lib::HashedSpan`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut std::vec::Vec<diffr_lib::HashedSpan>`
[INFO] [stdout]                found mutable reference `&mut std::vec::Vec<(usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:468:17
[INFO] [stdout]     |
[INFO] [stdout] 468 |                 &mut self.added_tokens
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^ expected struct `diffr_lib::HashedSpan`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut std::vec::Vec<diffr_lib::HashedSpan>`
[INFO] [stdout]                found mutable reference `&mut std::vec::Vec<(usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:470:17
[INFO] [stdout]     |
[INFO] [stdout] 470 |                 &mut self.removed_tokens
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `diffr_lib::HashedSpan`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut std::vec::Vec<diffr_lib::HashedSpan>`
[INFO] [stdout]                found mutable reference `&mut std::vec::Vec<(usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/main.rs:470:17
[INFO] [stdout]     |
[INFO] [stdout] 470 |                 &mut self.removed_tokens
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `diffr_lib::HashedSpan`, found tuple
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected mutable reference `&mut std::vec::Vec<diffr_lib::HashedSpan>`
[INFO] [stdout]                found mutable reference `&mut std::vec::Vec<(usize, usize)>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `diffr`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 10 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0432, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "78d157d074c7e00b85ffdb21428f917ea4e53df297961638f0c983418d404bef", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78d157d074c7e00b85ffdb21428f917ea4e53df297961638f0c983418d404bef", kill_on_drop: false }`
[INFO] [stdout] 78d157d074c7e00b85ffdb21428f917ea4e53df297961638f0c983418d404bef
